<template>
  <div class="bg">
    <div class="left">
      <div class="title">
        <img src="@/assets/title.png" alt="">
      </div>
      <div class="el-form">
        <!-- 账号 -->
        <div class="account">
          <div class="Img"><img src="@/assets/phone.png" alt=""></div>
          <div class="Input">
            <el-input v-model="input" placeholder="请输入内容"></el-input>
            </div>
        </div>
        <!-- 密码 -->
        <div class="password">
          <div class="Pwd">
            <div class="Img"><img src="@/assets/lock.png" alt=""></div>
             <div class="Ipt">
           <el-input show-password placeholder="请输入密码" v-model="input1" ></el-input>
          </div>
          </div>

        </div>
      </div>
      <div class="checkbox">
         <el-checkbox v-model="checked">记住密码 </el-checkbox>
      </div>
      <div class="BtnLogin">
         <el-button type="warning" class="loginbtn" @click.native="$router.push('layout')">立即登录</el-button>
      </div>
    </div>
    <div class="right"></div>
  </div>
</template>

<script>
export default {
 data() {
    return {
      input: '',
      input1:'',
      checked: true
    }
  }

}
</script>

<style lang='less' scoped>
.bg {
    width: 958px;
    height: 516px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,30%);
    box-shadow: 0 0 20px rgba(93,93,93,.32941176470588235);
    background-color: #fff;
    border-radius: 40px;
      .left {
        float: left;
        width: 398px;
        height: 516px;
        background: #fff;
        border-radius: 34px 0 0 34px;
        margin: 0 auto;
        .title {
          width: 274px;
          height: 65px;
          margin-left: 124px;
          margin-top: 72px;
          img {
             width: 150px;
             height: 64px;
          }
        }
        .el-form {
          width: 398px;
          height: 194px;
          .account {
            width: 280px;
            height: 50px;
            margin-top: 50px;
            margin-left: 59px;
            .Img {
                float: left;
                width: 50px;
                height: 50px;
                background: #eae7e7;
                border-radius: 8px 0 0 8px;
                img {
                  width: 25px;
                  height: 24px;
                  margin: 12px 13px;
                }
            }
            .Input {
              width: 230px;
              height: 50px;
              float: left;
              /deep/ .el-input__inner {
                width: 230px;
                height: 50px;
                background-color: #f8f5f5;
                border-bottom-left-radius: 0;
                border-top-left-radius: 0;
                line-height: 40px;
                border: 1px solid #f8f5f5;
                background: #f8f5f5;
                border-radius: 6px;
              }
            }
          }
          .password {
            margin-top: 50px;
            width: 398px;
            height: 72px;
            .Pwd {
              margin-left: 59px;
              width: 280px;
              height: 50px;
              margin-top: 22px;
              .Img {
                float: left;
                width: 50px;
                height: 50px;
                background: #eae7e7;
                border-radius: 8px 0 0 8px;
                img {
                  width: 24px;
                  height: 24px;
                  margin: 13px;
                }
              }
              .Ipt {
                width: 230px;
                height: 50px;
                float: left;
                /deep/ .el-input__inner {
                  width: 230px;
                  height: 50px;
                  background-color: #f8f5f5;
                  border-bottom-left-radius: 0;
                  border-top-left-radius: 0;
                  line-height: 40px;
                  border: 1px solid #f8f5f5;
                  background: #f8f5f5;
                  border-radius: 6px;
                }
              }
            }
          }
        }
        .checkbox {
          width: 338px;
          height: 19.1px;
          margin-top: -15px;
          margin-left: 60px;
          .el-checkbox {
            color: #1f2d3d;
            font-weight: 500;
            font-size: 14px;
            position: relative;
            display: inline-block;
            .el-checkbox__inner{
              position: relative;
              border: 1px solid #dcdfe6;
              border-radius: 2px;
              box-sizing: border-box;
              width: 14px;
              height: 14px;
              background-color: #fff;
              z-index: 1;
              transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
            }

          }
        }
        }
      .BtnLogin {
        margin-top: 23px;
        margin-left: 59px;
        .loginbtn {
          width: 280px;
          height: 50px;
          background: #ffb200;
          border-radius: 8px;
          box-shadow: 0 2px 9px 1px rgba(255,178,0,.47);
          font-size: 16px;
          font-weight: 600;
          text-align: center;
          color: #332929;
          line-height: 22px;
        }
      }
      .right {
        float: right;
        background-image: url('@/assets/bg.png');
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        width: 560px;
        height: 516px;
        }
}
</style>
